package db;

import java.util.ArrayList;

import model.Rent;

public interface IFDBRent
{
	/* SELECT */
	public ArrayList<Rent> getAll();

	public Rent getById(int id);
	public Rent getActiveByApartmentId(int apartmentId);
	//public ArrayList<Rent> getByName(String name);

	public Rent getByApartment(int apartmentId);
	
	/* INSERT */
	public int insertScope(Rent item);

	/* UPDATE */
	public void update(Rent item);

	/* DELETE */
	public void delete(Rent item);

}
